﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FimetContoDeposito.DAL
{
    public class ContextWrapper<T> : DbContext
        where T : DbContext, new()
    {
        public T Context { get { return new T(); } }

        public override int SaveChanges()
        {
            return base.SaveChanges();
        }
    }
}
